import tkinter as tk
import datetime
import time

root = tk.Tk()
root.geometry('500x300')
# print(datetime.datetime.today())

time_str_var = tk.StringVar()  # 可变变量对象
"""
set 往可变变量对象里面设置内容
get 获取可变变量的内容
"""
time_str_var.set(str(datetime.datetime.now())[:-7])

label = tk.Label(root, textvariable=time_str_var, font=('宋体', 20))
label.pack()



root.mainloop()
a= [1,2,4]
a.pop()
print(a)